# coding: utf-8
from flask_sqlalchemy import SQLAlchemy


db = SQLAlchemy()



class AdminInfo(db.Model):
    __tablename__ = 'admin_info'

    AutoID = db.Column(db.Integer, primary_key=True, info='主键自增')
    AdminUserID = db.Column(db.String(255))
    AdminPassword = db.Column(db.String(255))
    IsDelete = db.Column(db.Integer, server_default=db.FetchedValue(), info='0-正常，1已删除')
    CreateTime = db.Column(db.DateTime, server_default=db.FetchedValue())
    ModifyTime = db.Column(db.DateTime, server_default=db.FetchedValue())
